<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org"
      xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity6">
<head>
    <title>辛巴达 SAML2.0 Okta 单点登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>

<h1>辛巴达 SAML2.0 Okta 单点登录</h1>
<p>欢迎您 <span th:text="${lastName}"></span>.<span th:text="${firstName}"></span></p>
<p>邮件地址 <span th:text="${email}"></span></p>
<h2>全部属性</h2>
<dl th:each="userAttribute : ${userAttributes}">
    <dt th:text="${userAttribute.key}"></dt>
    <dd th:text="${userAttribute.value}"></dd>
</dl>

<form th:action="@{/logout}" method="post">
    <button id="logout" type="submit">退出</button>
</form>

</body>
</html>